<template>
  <div class="content">
    <FirstScreen
      :FirstImg="FirstImg"
      :title="title"
      :content="content"
    ></FirstScreen>
    <div
      class="direction"
      v-for="(item, index) in introduceList"
      :key="index"
      :class="index % 2 === 0 ? '' : 'active'"
    >
      <div class="direction_box">
        <div :style="{ textAlign: index % 2 === 0 ? '' : 'right' }">前端</div>
        <div>大家斯巴达克八十的好吧</div>
      </div>
    </div>
  </div>
</template>

<script>
import FirstScreen from "@/components/common/FirstScreen";
export default {
  name: "Software",
  components: {
    FirstScreen,
  },
  data() {
    return {
      FirstImg:
        "https://img20.360buyimg.com/da/jfs/t3157/165/6117849901/102894/88bf53b8/589d67b6Ne8986a9e.jpg",
      title: "软研方向",
      content: "啥的客户编号萨贝达卡拉受不了的海拔手机端比较好刷卡机的空间内部",
      introduceList: [
        {
          title: "前端",
          content:
            "看不到看见爱上不好打不死的打不死两句话把手机号都不好使电话手表",
        },
        {
          title: "后端",
          content:
            "看不到看见爱上不好打不死的打不死两句话把手机号都不好使电话手表",
        },
        {
          title: "UI",
          content:
            "看不到看见爱上不好打不死的打不死两句话把手机号都不好使电话手表",
        },
        {
          title: "产品",
          content:
            "看不到看见爱上不好打不死的打不死两句话把手机号都不好使电话手表",
        },
      ],
    };
  },
  mounted: function () {},
  methods: {},
};
</script>

<style lang="less" scoped>
.content {
  .direction {
    width: 1200px;
    margin: 50px auto;
    display: flex;
    // flex-direction: row-reverse;
    .direction_box {
      width: 800px;
      height: 350px;
      background: red;
      :nth-child(1) {
        padding: 20px 50px 0;
      }
      :nth-child(2) {
        padding: 10px;
      }
    }
  }
  .active {
    flex-direction: row-reverse;
  }
}
</style>